home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2008 February / PCWFEB08.iso / Software / Resources / Developers / XAMPP 1.5.4 / Windows installer / xampp-win32-1.5.4-installer.exe / xampp / htdocs / index.php < prev   
Encoding:
PHP Script  |  2005-12-03  |  267 b   |  12 lines

  1. <?php
  2.     if (!empty($_SERVER['HTTPS']) && ('on' == $_SERVER['HTTPS'])) {
  3.         $uri = 'https://';
  4.     } else {
  5.         $uri = 'http://';
  6.     }
  7.     $uri .= $_SERVER['HTTP_HOST'];
  8.     header('Location: '.$uri.'/xampp/');
  9.     exit;
  10. ?>
  11. Something is wrong with the XAMPP installation :-(
  12.